package org.bhavani.nonReptativeChar;

public class nonRepChar {

	char nonRep(){
		String s = "Stringe";
		char k = 0 ;
		char chsrt[] = s.toCharArray();

		 l:for(int i = 0 ; i < s.length() ; i++){

			for( int j = 1 ; j < s.length() ; j++){

				if(	chsrt[i] != chsrt[j]){
					k = chsrt[i];
					break l;

				} 
			}

		}
		return k;

	}

	public static void main(String[] args) {
		nonRepChar chr = new nonRepChar();
		char k = chr.nonRep();
		System.out.println(k);

	}

}
